﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DataSet1" targetNamespace="http://tempuri.org/DataSet1.xsd" xmlns:mstns="http://tempuri.org/DataSet1.xsd" xmlns="http://tempuri.org/DataSet1.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="tailoringmngConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="tailoringmngConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Tailoring.Properties.Settings.GlobalReference.Default.tailoringmngConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="DataTable1TableAdapter" GeneratorDataComponentClassName="DataTable1TableAdapter" Name="DataTable1" UserDataComponentName="DataTable1TableAdapter">
            <MainSource>
              <DbSource ConnectionRef="tailoringmngConnectionString (Settings)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        tblclientinfo.*, tblpemaish.*
FROM            tblclientinfo INNER JOIN
                         tblpemaish ON tblclientinfo.clientId = tblpemaish.clientId
WHERE        (tblclientinfo.clientId = @idkey)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="idkey" ColumnName="clientId" DataSourceName="tailoringmng.dbo.tblclientinfo" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idkey" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="clientId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="clientId" DataSetColumn="clientId" />
              <Mapping SourceColumn="name" DataSetColumn="name" />
              <Mapping SourceColumn="mobile" DataSetColumn="mobile" />
              <Mapping SourceColumn="address" DataSetColumn="address" />
              <Mapping SourceColumn="cnic" DataSetColumn="cnic" />
              <Mapping SourceColumn="city" DataSetColumn="city" />
              <Mapping SourceColumn="clientId1" DataSetColumn="clientId1" />
              <Mapping SourceColumn="pid" DataSetColumn="pid" />
              <Mapping SourceColumn="lambai" DataSetColumn="lambai" />
              <Mapping SourceColumn="chatti" DataSetColumn="chatti" />
              <Mapping SourceColumn="tera" DataSetColumn="tera" />
              <Mapping SourceColumn="collar" DataSetColumn="collar" />
              <Mapping SourceColumn="asteen" DataSetColumn="asteen" />
              <Mapping SourceColumn="daman" DataSetColumn="daman" />
              <Mapping SourceColumn="shalwar" DataSetColumn="shalwar" />
              <Mapping SourceColumn="pancha" DataSetColumn="pancha" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="DataSet1" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DataSet1" msprop:Generator_UserDSName="DataSet1">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="DataTable1" msprop:Generator_TableClassName="DataTable1DataTable" msprop:Generator_TableVarName="tableDataTable1" msprop:Generator_TablePropName="DataTable1" msprop:Generator_RowDeletingName="DataTable1RowDeleting" msprop:Generator_RowChangingName="DataTable1RowChanging" msprop:Generator_RowEvHandlerName="DataTable1RowChangeEventHandler" msprop:Generator_RowDeletedName="DataTable1RowDeleted" msprop:Generator_UserTableName="DataTable1" msprop:Generator_RowChangedName="DataTable1RowChanged" msprop:Generator_RowEvArgName="DataTable1RowChangeEvent" msprop:Generator_RowClassName="DataTable1Row">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="clientId" msprop:Generator_ColumnVarNameInTable="columnclientId" msprop:Generator_ColumnPropNameInRow="clientId" msprop:Generator_ColumnPropNameInTable="clientIdColumn" msprop:Generator_UserColumnName="clientId" type="xs:int" />
              <xs:element name="name" msprop:Generator_ColumnVarNameInTable="columnname" msprop:Generator_ColumnPropNameInRow="name" msprop:Generator_ColumnPropNameInTable="nameColumn" msprop:Generator_UserColumnName="name">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="mobile" msprop:Generator_ColumnVarNameInTable="columnmobile" msprop:Generator_ColumnPropNameInRow="mobile" msprop:Generator_ColumnPropNameInTable="mobileColumn" msprop:Generator_UserColumnName="mobile" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="address" msprop:Generator_ColumnVarNameInTable="columnaddress" msprop:Generator_ColumnPropNameInRow="address" msprop:Generator_ColumnPropNameInTable="addressColumn" msprop:Generator_UserColumnName="address" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cnic" msprop:Generator_ColumnVarNameInTable="columncnic" msprop:Generator_ColumnPropNameInRow="cnic" msprop:Generator_ColumnPropNameInTable="cnicColumn" msprop:Generator_UserColumnName="cnic" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="city" msprop:Generator_ColumnVarNameInTable="columncity" msprop:Generator_ColumnPropNameInRow="city" msprop:Generator_ColumnPropNameInTable="cityColumn" msprop:Generator_UserColumnName="city">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="15" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="clientId1" msprop:Generator_ColumnVarNameInTable="columnclientId1" msprop:Generator_ColumnPropNameInRow="clientId1" msprop:Generator_ColumnPropNameInTable="clientId1Column" msprop:Generator_UserColumnName="clientId1" type="xs:int" />
              <xs:element name="pid" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnpid" msprop:Generator_ColumnPropNameInRow="pid" msprop:Generator_ColumnPropNameInTable="pidColumn" msprop:Generator_UserColumnName="pid" type="xs:int" />
              <xs:element name="lambai" msprop:Generator_ColumnVarNameInTable="columnlambai" msprop:Generator_ColumnPropNameInRow="lambai" msprop:Generator_ColumnPropNameInTable="lambaiColumn" msprop:Generator_UserColumnName="lambai" type="xs:double" />
              <xs:element name="chatti" msprop:Generator_ColumnVarNameInTable="columnchatti" msprop:Generator_ColumnPropNameInRow="chatti" msprop:Generator_ColumnPropNameInTable="chattiColumn" msprop:Generator_UserColumnName="chatti" type="xs:double" />
              <xs:element name="tera" msprop:Generator_ColumnVarNameInTable="columntera" msprop:Generator_ColumnPropNameInRow="tera" msprop:Generator_ColumnPropNameInTable="teraColumn" msprop:Generator_UserColumnName="tera" type="xs:double" />
              <xs:element name="collar" msprop:Generator_ColumnVarNameInTable="columncollar" msprop:Generator_ColumnPropNameInRow="collar" msprop:Generator_ColumnPropNameInTable="collarColumn" msprop:Generator_UserColumnName="collar" type="xs:double" />
              <xs:element name="asteen" msprop:Generator_ColumnVarNameInTable="columnasteen" msprop:Generator_ColumnPropNameInRow="asteen" msprop:Generator_ColumnPropNameInTable="asteenColumn" msprop:Generator_UserColumnName="asteen" type="xs:double" />
              <xs:element name="daman" msprop:Generator_ColumnVarNameInTable="columndaman" msprop:Generator_ColumnPropNameInRow="daman" msprop:Generator_ColumnPropNameInTable="damanColumn" msprop:Generator_UserColumnName="daman" type="xs:double" />
              <xs:element name="shalwar" msprop:Generator_ColumnVarNameInTable="columnshalwar" msprop:Generator_ColumnPropNameInRow="shalwar" msprop:Generator_ColumnPropNameInTable="shalwarColumn" msprop:Generator_UserColumnName="shalwar" type="xs:double" />
              <xs:element name="pancha" msprop:Generator_ColumnVarNameInTable="columnpancha" msprop:Generator_ColumnPropNameInRow="pancha" msprop:Generator_ColumnPropNameInTable="panchaColumn" msprop:Generator_UserColumnName="pancha" type="xs:double" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:DataTable1" />
      <xs:field xpath="mstns:clientId" />
      <xs:field xpath="mstns:pid" />
    </xs:unique>
  </xs:element>
</xs:schema>